package com.ruoyi.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品日清对象 day_inventory
 * 
 * @author ruoyi
 * @date 2024-06-08
 */
public class DayInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long sellIncome;
    private Long purchaseIncome;
    private Long lastQuantity;
    private Date purchaseTime;
    private Date sellTime;
    private Long sFoodId;
    private Long pFoodId;
    private String foodName;

    private Long sellQuantity;
    private Long purchaseQuantity;

    /** 盘点ID */
    private Long id;

    /** 盘点日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long fid;

    /** 盘点实际数量 */
    @Excel(name = "盘点实际数量")
    private Long actualQuantity;

    /** 盘点备注信息 */
    @Excel(name = "盘点备注信息")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setFid(Long fid) 
    {
        this.fid = fid;
    }

    public Long getFid() 
    {
        return fid;
    }
    public void setActualQuantity(Long actualQuantity) 
    {
        this.actualQuantity = actualQuantity;
    }

    public Long getActualQuantity() 
    {
        return actualQuantity;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("fid", getFid())
            .append("actualQuantity", getActualQuantity())
            .append("remarks", getRemarks())
            .toString();
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public Long getSellQuantity() {
        return sellQuantity;
    }

    public void setSellQuantity(Long sellQuantity) {
        this.sellQuantity = sellQuantity;
    }

    public Long getPurchaseQuantity() {
        return purchaseQuantity;
    }

    public void setPurchaseQuantity(Long purchaseQuantity) {
        this.purchaseQuantity = purchaseQuantity;
    }

    public Date getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(Date purchaseTime) {
        this.purchaseTime = purchaseTime;
    }

    public Date getSellTime() {
        return sellTime;
    }

    public void setSellTime(Date sellTime) {
        this.sellTime = sellTime;
    }

    public Long getsFoodId() {
        return sFoodId;
    }

    public void setsFoodId(Long sFoodId) {
        this.sFoodId = sFoodId;
    }

    public Long getpFoodId() {
        return pFoodId;
    }

    public void setpFoodId(Long pFoodId) {
        this.pFoodId = pFoodId;
    }

    public Long getLastQuantity() {
        return lastQuantity;
    }

    public void setLastQuantity(Long lastQuantity) {
        this.lastQuantity = lastQuantity;
    }

    public Long getSellIncome() {
        return sellIncome;
    }

    public void setSellIncome(Long sellIncome) {
        this.sellIncome = sellIncome;
    }

    public Long getPurchaseIncome() {
        return purchaseIncome;
    }

    public void setPurchaseIncome(Long purchaseIncome) {
        this.purchaseIncome = purchaseIncome;
    }
}
